<script setup lang="ts">
import { onMounted, ref } from "vue";
import ZeroMarkdownView from "@/zero-markdown-view/components/zero-markdown-view/zero-markdown-view.vue";

const descText = ref("");
onMounted(async () => {
  descText.value = await uni.getStorageSync("descText");
})
</script>

<template>
  <div style="padding-bottom: 30px">
    <div class="container">
      <zero-markdown-view :markdown="descText"></zero-markdown-view>
    </div>
  </div>
</template>

<style scoped lang="scss">
.container {
  background: #ffffff;
  border-radius: 15rpx;
  padding: 30rpx 20rpx;
  margin: 30rpx;
}
</style>